package Server;


import java.rmi.*;
import java.util.List;


public interface IServer extends Remote{
	public void diffuserMessage(String fenetre, String text) throws RemoteException;

	public void abonneMoi(String monClient, String subject) throws RemoteException;

	public void desabonneMoi(String monClient, String subject) throws RemoteException;

	public void binder(String monClient) throws RemoteException;

	public void addSubject(String subject) throws RemoteException;

	public List<String> getSubjects() throws RemoteException;
	
	public String chooseName(String login, String oldName, String newName) throws RemoteException;
}